# -------------------------------------------------
# Project created by QtCreator 2009-06-10T07:39:33
# -------------------------------------------------
QT += opengl \
    script \
    sql \
    xml \
    xmlpatterns
TARGET = glTraceVis
TEMPLATE = app
CONFIG += console
CONFIG += debug_and_release
DEFINES += __LIBELF_INTERNAL__
INCLUDEPATH += libelf/include \
    plib/include
win32 {
    release {
        LIBS += libelf/lib/release/libelf.lib \
            plib/lib/release/fnt.lib \
            plib/lib/release/js.lib \
            plib/lib/release/net.lib \
            plib/lib/release/psl.lib \
            plib/lib/release/pui.lib \
            plib/lib/release/puAux.lib \
            plib/lib/release/sg.lib \
            plib/lib/release/ul.lib \
            /NODEFAULTLIB:libcmt
    } else {
        LIBS += libelf/lib/debug/libelf.lib \
            plib/lib/debug/fnt_d.lib \
            plib/lib/debug/js_d.lib \
            plib/lib/debug/net_d.lib \
            plib/lib/debug/psl_d.lib \
            plib/lib/debug/pui_d.lib \
            plib/lib/debug/puAux_d.lib \
            plib/lib/debug/sg_d.lib \
            plib/lib/debug/ul_d.lib \
            /NODEFAULTLIB:libcmt
    }
} 
macx {
    LIBS += libelf/libelf.a \
        plib/libplibfnt.a \
        plib/libplibjs.a \
        plib/libplibnet.a \
        plib/libplibpsl.a \
        plib/libplibpu.a \
        plib/libplibpuaux.a \
        plib/libplibsg.a \
        plib/libplibul.a
}
unix {
    LIBS += -lelf \
        -lplibfnt \
        -lplibjs \
        -lplibnet \
        -lplibpsl \
        -lplibpu \
        -lplibpuaux \
        -lplibsg \
        -lplibul
}
SOURCES += main.cpp \
    mainwindow.cpp \
    XQueryPipelineElements.cpp \
    XMLPipelineElements.cpp \
    SymbolResolutionDialog.cpp \
    ScriptProcessor.cpp \
    PipelineElement.cpp \
    NativePipelineElements.cpp \
    ELFReader.cpp \
    DataSource.cpp \
    DataProcessor.cpp \
    InspectorDialog.cpp \
    vertexbufferobject.cpp \
    vertexarray.cpp \
    vecmath.cpp \
    textrenderer.cpp \
    scene.cpp \
    renderwidget.cpp \
    ray.cpp \
    grid.cpp \
    factories.cpp \
    element.cpp \
    container.cpp \
    camera.cpp \
    boundingbox.cpp \
    ColorPickerDialog.cpp
HEADERS += mainwindow.h \
    XQueryPipelineElements.h \
    XMLPipelineElements.h \
    SymbolResolutionDialog.h \
    Singleton.h \
    ScriptProcessor.h \
    Profiler.h \
    PipelineElement.h \
    NativePipelineElements.h \
    ELFReader.h \
    DataSource.h \
    DataProcessor.h \
    InspectorDialog.h \
    vertexbufferobject.h \
    vertexarray.h \
    vecmath.h \
    textrenderer.h \
    scene.h \
    renderwidget.h \
    ray.h \
    grid.h \
    factories.h \
    element.h \
    container.h \
    camera.h \
    boundingbox.h \
    ColorPickerDialog.h
FORMS += mainwindow.ui \
    SymbolResolutionDialog.ui \
    InspectorDialog.ui \
    ColorPickerDialog.ui
